<?php

require_once(SITE_ROOT . 'class/db/DBCountry.class.php');

class LogicGraphs {

	private static $instance;
	
	// private constructor
	private function __construct() {}

	// the getInstance() method returns a single instance of the object
	public static function getInstance() {
		if(!isset(self::$instance)) {
			self::$instance = new self;
		}
		return self::$instance;
	}
	
	public function getCountries() {
		$dbcountry = new DBCountry();
		return $dbcountry->getCountries("name");
	}
		
}

?>